package events;

public class MoveEvent extends Event {
	private int toX;
	private int toY;
	private int fromX;
	private int fromY;
	private int type;
	
	public MoveEvent(final int toX, final int toY, final int fromX, final int fromY, final int type) {
		this.toX = toX;
		this.toY = toY;
		this.fromX = fromX;
		this.fromY = fromY;
		this.type = type;
	}
	
	public final int getToX() {
		return this.toX;
	}
	
	public final int getYoY() {
		return this.toY;
	}

	public final int getFromX() {
		return this.fromX;
	}
	
	public final int getFromY() {
		return this.fromY;
	}
	
	public final int getType() {
		return this.type;
	}
}
